<html>
    <body>
<h1 style='color:rgb(216, 53, 53)'>hello Golang!</h1>
<h2>how are you</h2>
<p>how are you</p>
<img id='ym' height='600px' width='250px' src='http://n.sinaimg.cn/sinakd20111/447/w2015h4032/20220104/d4b2-44eb9c3815dacce8e4ad26e32a6cfd06.jpg'>
</br>
<button id='b1'>点我</button>

<script>
    document.getElementById('b1').onclick=function(){
        document.getElementById('ym').src='http://n.sinaimg.cn/news/transform/w150h150/20180223/xbJU-fyrswmv2029131.jpg'
    
    }
</script>
</body>
</html>